<article class="page-container">
	<form autocomplete="off" class="form form-horizontal jq_validate" action="" enctype="multipart/form-data" method="post" onsubmit="return false;">
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
			<span class="c-red">*</span>分类标题：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
		          <input type="text" class="input-text" value="<{$info['cat_title']}>"
		          placeholder="分类标题"
		          name="cat_title" 
		          data-rule-required="true"
		          data-msg-required="请输入分类标题"
		          />
			</div>
		</div>
		
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
				<span class="c-red">*</span>上级分类：
			</label>
			<div class="formControls col-xs-8 col-sm-9"> 
				<span class="select-box">
					<select name="parent_id" class="select">
				          <{volist name="category" id="v"}>
				              <option value="<{$v.id}>" <{if condition="$v.id==$info.parent_id"}>selected=true<{/if}>>
			                  <{for start="0" end="$v.depath"}>
			                  &nbsp;
			                  <{/for}>
				              |-<{$v.cat_title}>
				              </option>
				          <{/volist}>
					</select>
				</span>
			</div>
		</div>
		
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
				<span class="c-red">*</span>是否开启：
			</label>
			<div class="formControls col-xs-8 col-sm-9"> 
				<span class="select-box">
					<select name="status" class="select">
				          <{volist name="status" id="v"}>
				              <option value="<{$key}>" <{if condition="$key==$info.status"}>selected=true<{/if}>>
				              <{$v}>
				              </option>
				          <{/volist}>
					</select>
				</span>
			</div>
		</div>
		
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
				<span class="c-red">*</span>排序值：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
		          <input type="text" class="input-text" value="<{$info['sort']}>"
		          placeholder="排序值 倒序排序"
		          name="sort"
		          data-rule-required="true"
		          data-msg-required="请输入排序值"
		          data-rule-digits="true"
		          data-msg-digits="请输入正整数" 
		          />
			</div>
		</div>
		
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">扩展：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" placeholder="多个扩展用|隔开 ,  不知道如何使用请保持不变" value="<{$info['ext']}>"  name="ext">
			</div>
		</div>
		
		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
				<input type='submit' class="btn btn-primary radius" type="submit" value="提交" />
				<button onClick="com_close(this);" class="btn btn-default radius" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
			</div>
		</div>
	</form>
</article>